var bgm = document.getElementById("bgm");
(() => {
  var path = window.location.pathname;
  if (path.search("album") > 0) {
    // bgm.setAttribute("autoplay", "autoplay");
    pauseau();
  }
})();
function pauseau() {
  var playbtn = document.getElementById("playBtn");
  if (bgm.paused) {
    bgm.play();
    playbtn.className = "playBtn";
  } else {
    bgm.pause();
    playbtn.className = "playBtn playBtn_stopturn";
  }
}
